package src.main.CreationalPatterns.Factory;

public class Warrior extends Role{

    public Warrior(String name) {
        super(name);
    }

    @Override
    public void attack() {
        System.out.println("大剑攻击");
    }
}
